function MtEncode(msgId)
	for i = 1,4,1 do 
		local tmp_a=bit.rshift(msgId,24-i*6);
		local tmp_b=mod(tmp_a,64);
		local sBtnName="MtCodeFrmBtn"..(5-i);
		getglobal(sBtnName):SetNormalTexture("Interface\\AddOns\\MyTricks\\img\\"..tmp_b);		
	end
end

function MtCodeFrmInit()
	--MyTricksLog("MtCodeFrmInit");
	MtCodeFrm:RegisterEvent("ADDON_LOADED");
end

function MtCodeFrmLoaded()
	--MyTricksLog("MtCodeFrmLoaded");
	--MtCodeFrm:Show();
end
